package com.example.mybatisplusdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatisplusdemo.model.domain.PointsHistory;

import java.util.List;

/**
 * <p>
 * 记录积分变化 Mapper 接口
 * </p>
 *
 * @author lqj
 * @since 2025-07-02
 */
public interface PointsHistoryMapper extends BaseMapper<PointsHistory> {

    List<PointsHistory> selectBySourceId(Long orderId);
}
